package com.jixiang.goods.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jixiang.model.common.dtos.ResponseResult;
import com.jixiang.model.goods.dtos.AddGoodsTypePicDtos;
import com.jixiang.model.goods.dtos.AddGoodsTypeWxPicDtos;
import com.jixiang.model.goods.dtos.GoodsBySecTypeDtos;
import com.jixiang.model.goods.entity.GsGoodsType;

/**
 * (GsGoodsType)表服务接口
 *
 * @author makejava
 * @since 2023-10-14 21:13:16
 */
public interface GsGoodsTypeService extends IService<GsGoodsType> {

    ResponseResult getGoodsTypePage(int pageNum,int pageSize);

    ResponseResult getParentGoodsTypeList();

    ResponseResult addGoodsType(GsGoodsType gsGoodsType);

    ResponseResult getGoodsTypeById(String id);

    ResponseResult updateGoodsType(GsGoodsType gsGoodsType);

    ResponseResult deleteGoodsTypeById(String id);

    ResponseResult appGetGoodsTypeList();

    ResponseResult clearGoodsTypeCache();

    ResponseResult getGoodsTypeList();

    ResponseResult appGetGoodsTypeLayout();


    ResponseResult addPic(AddGoodsTypePicDtos addGoodsTypePicDtos);

    ResponseResult appGetGoodsTypeDataById(String id);

    ResponseResult appGetGoodsTypePicDataById(String id);

    ResponseResult appGetSecondGoodsTypeDataById(String id);

    ResponseResult appGetGoodsInfoBySecondGoodsTypeId(GoodsBySecTypeDtos goodsBySecTypeDtos);

    ResponseResult getGoodsTypeWxPic(String id);

    ResponseResult dddGoodsTypeWxPic(AddGoodsTypeWxPicDtos addGoodsTypeWxPicDtos);

    ResponseResult WxGetGoodsListByRecommend(int pageNum, int pageSize);
}

